package cn.com.ejiakanghu.vo;

import cn.com.ejiakanghu.core.utils.LngLatUtil;
import org.linlinjava.litemall.db.domain.AgedmallHospitalSend;

import java.math.BigDecimal;

/**
 * @author wj
 * @date 2021/12/22 23:18
 */
public class HospitalInfoVo {

    private Integer id;
    private String hospital;
    private String province;
    private String city;
    private String village;
    private String address;
    private BigDecimal lng;
    private BigDecimal lat;
    private String hpId;
    private String equId;
    private String position;
    private String hpMac;
    private String equRfid;




    public HospitalInfoVo(Integer id, String hospital, String province, String city, String village, String address, BigDecimal lng, BigDecimal lat, String hpId, String equId, String position) {
        this.id = id;
        this.hospital = hospital;
        this.province = province;
        this.city = city;
        this.village = village;
        this.address = address;
        this.lng = lng;
        this.lat = lat;
        this.hpId = hpId;
        this.equId = equId;
        this.position = position;
    }


    public HospitalInfoVo(AgedmallHospitalSend send) {
        this.id = send.getId();
        this.hospital = send.getHospitalName();
        this.province = send.getProvince();
        this.city = send.getCity();
        this.village = send.getVillage();
        this.address = send.getAddressDetail();
        this.lng = send.getLng();
        this.lat = send.getLat();
    }

    public HospitalInfoVo() {
    }


    public String getHpMac() {
        return hpMac;
    }

    public void setHpMac(String hpMac) {
        this.hpMac = hpMac;
    }

    public String getEquRfid() {
        return equRfid;
    }

    public void setEquRfid(String equRfid) {
        this.equRfid = equRfid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHospital() {
        return hospital;
    }

    public void setHospital(String hospital) {
        this.hospital = hospital;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getVillage() {
        return village;
    }

    public void setVillage(String village) {
        this.village = village;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public BigDecimal getLng() {
        return lng;
    }

    public void setLng(BigDecimal lng) {
        this.lng = lng;
    }

    public BigDecimal getLat() {
        return lat;
    }

    public void setLat(BigDecimal lat) {
        this.lat = lat;
    }

    public String getHpId() {
        return hpId;
    }

    public void setHpId(String hpId) {
        this.hpId = hpId;
    }

    public String getEquId() {
        return equId;
    }

    public void setEquId(String equId) {
        this.equId = equId;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }
}
